<div class="products form">
<?php echo $this->Form->create('Product'); ?>
	<fieldset>
		<legend><?php echo __('Admin Edit Product'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('warehouse_id');
		echo $this->Form->input('purchase_detail_id');
		echo $this->Form->input('sales_detail_id');
		echo $this->Form->input('modell_id');
		echo $this->Form->input('serial_number');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Product.id')), array(), __('Are you sure you want to delete # %s?', $this->Form->value('Product.id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Products'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Warehouses'), array('controller' => 'warehouses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Warehouse'), array('controller' => 'warehouses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Purchase Details'), array('controller' => 'purchase_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Purchase Detail'), array('controller' => 'purchase_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sales Details'), array('controller' => 'sales_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sales Detail'), array('controller' => 'sales_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Modells'), array('controller' => 'modells', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Modell'), array('controller' => 'modells', 'action' => 'add')); ?> </li>
	</ul>
</div>
